#include <iostream>
#include<string>
using namespace std;

int main() {
    string str1="They are students. ";
    string str2="aeiou .";
   /* getline(std::cin, str1);
    getline(std::cin, str2);*/
    char dele_char[128] = { 0 };
    for (int i = 0; i < 128; i++)
    {
        dele_char[i] = 0;
    }
    for (int i = 0; i < str2.size(); i++)
    {
        dele_char[str2[i]]++;
    }
    for (int i = 0; i < str1.size(); i++)
    {
        if (dele_char[str1[i]] != 0)
        {
            str1.erase(i, 1);
            i--;
        }
    }
    cout << str1 << endl;
}